<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
//String basePath = "http://localhost:8080/wechatEnterprise/";
%>
     <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }
	#editor001{
		 padding: 20px 0 0 25px;
	}

    </style>
    <link rel="stylesheet" type="text/css" href="<%=path%>/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<%=path%>/css/bootstrap-responsive.css" />
   	<link rel="stylesheet" type="text/css" href="<%=path%>/css/style.css" />
<form action="<%=path%>/AddXinXi/addCongtents" name="example" id="addform" method="post" class="definewidth m20">
<input type="hidden" name="id" value="{$user.id}" />
    <table class="table table-bordered table-hover definewidth m10">
        <tr>
            <td width="10%" class="tableleft">标题</td>
            <td><input type="text" id="activity_title" name="title" value=""/></td>
        </tr>
        <tr>
            <td class="tableleft">作者</td>
            <td><input type="text" id="activity_userName" name="userName"/></td>
        </tr>
        <!-- <tr>
            <td class="tableleft">发表时间</td>
            <td><input type="text" name="realname" value=""/></td>
        </tr> -->
        <!-- <tr>
            <td class="tableleft">邮箱</td>
            <td><input type="text" name="email" value=""/></td>
        </tr> -->
        <tr>
            <td class="tableleft">状态</td>
            <td>
                <input type="radio" name="start" value="0"
                    /> 置顶
              <input type="radio" checked="checked" name="start" value="1"
                     /> 不置顶
            </td>
        </tr>
    </table>
    <div id="editor001">
    	<textarea name="contents" id="contents001" cols="100" rows="8" style="width:700px;height:200px;"></textarea>
	    <%-- <jsp:include page="../../editor/jsp/editor.jsp" flush="true" /> --%>
	    <!-- <button type="button" id="saveactivity" class="btn btn-primary" type="button">保存</button> -->
	    <input type="submit" name="button" value="提交内容" class="btn btn-primary" />&nbsp;&nbsp;
	    <button type="button" class="btn btn-success" id="backid">返回列表</button>
    </div>
</form>
